package com.clwl.supervise.superviseapp.entity.supervise;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
    * 法律法规库
    */
@Data
@TableName(value = "TS_LAWS_REGULATIONS")
public class TsLawsRegulations implements Serializable {


    @TableId(value = "ID", type = IdType.AUTO)
    private Long id;

    /**
     * 法规名称
     */
    @TableField(value = "NAME")
    private String name;

    /**
     * 定制机关;对应字典表code值为commission_office
     */
    @TableField(value = "COMMISSION_OFFICE")
    private Long commissionOffice;

    /**
     * 法律性质对应字典表code值为legal_nature
     */
    @TableField(value = "LEGAL_NATURE")
    private Long legalNature;

    /**
     * 发布时间
     */
    @TableField(value = "RELEASE_TIME")
    private Date releaseTime;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;

    /**
     * 时效性:1-有效；2-未生效
     */
    @TableField(value = "AGING")
    private String aging;

    /**
     * 备注信息
     */
    @TableField(value = "REMARK")
    private String remark;

    /**
     * 更新日期
     */
    @TableField(value = "UPDATE_TIME")
    private Date updateTime;

    /**
     * 1-删除；0-未删除
     */
    @TableField(value = "DELETE_FLAG")
    private String deleteFlag;

    private static final long serialVersionUID = 1L;
}
